@extends('modstart::layout.frame')

@section('pageFavIco'){{modstart_config_asset_url('siteFavIco')}}@endsection
@section('pageTitle')@yield('pageTitleMain','') | {{modstart_config('siteName')}}@endsection
@section('pageKeywords'){{modstart_config('siteKeywords')}}@endsection
@section('pageDescription'){{modstart_config('siteDescription')}}@endsection

@section('headPrepend')
    @parent
    <link rel="stylesheet" href="@asset('vendor/BlogThemeLightA/static/css/bootstrap.css')">
    <link rel="stylesheet" href="@asset('vendor/BlogThemeLightA/static/css/style.css')">
    <link rel="stylesheet" href="@asset('asset/font-awesome/css/font-awesome.min.css')">
    <style>
        body{transform: none;position:relative;padding-top:80px !important;}
    </style>
@endsection

@section('headAppend')
    @parent
    @if($c=modstart_config('sitePrimaryColor'))
        <style type="text/css">
            :root{
                --theme-color-primary: {{$c}};
                --theme-color-primary-light: {{\ModStart\Core\Util\ColorUtil::adjust($c,20)}};
                --theme-color-primary-dark: {{\ModStart\Core\Util\ColorUtil::adjust($c,-20)}};
            }
        </style>
    @endif
    <style>
        @media (min-width: 1400px) {
            .ub-container {
                max-width: 1300px;
            }
        }
    </style>
    {!! \ModStart\Core\Hook\ModStartHook::fireInView('PageHeadAppend',$this); !!}
@endsection

@section('bodyAppend')
    @parent
    {!! \ModStart\Core\Hook\ModStartHook::fireInView('PageBodyAppend',$this); !!}
@endsection

@section('body')

    @include('module::BlogThemeLightA.View.pc.header')

    @section('bodyContent')
    @show

    @include('module::BlogThemeLightA.View.pc.footer')

@endsection
